package com.correo.vista.client.windows.componentes.paneles;

import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JToolBar;

public class PanelToolBar {

	
	private JToolBar 	toolBarPrincipal;
	private JButton 	buttonConnect;
	//private JDesktopPane	desktopPane;
	
	public PanelToolBar(JPanel desktopPane){
		//this.desktopPane=desktopPane;
		createComponents();
		initComponents();
		initActions();
	}
	private void initActions() {
		
		
	}
	private void createComponents() {
		
		toolBarPrincipal= new JToolBar();
		buttonConnect= new JButton();
		
	}

	private void initComponents() {
        buttonConnect.setText("Conectar");
        toolBarPrincipal.add(buttonConnect);
	}
	public JToolBar getToolBar() {
		return toolBarPrincipal;
	}


}
